package dd.prog2.exercises.set04;

public interface Matrix {

	/*2 M addieren*/
	Matrix add(Matrix m2) throws ArithmeticException ;
	/*2 M substr*/
	Matrix sub(Matrix m2) throws ArithmeticException ;
	/*M und V multiplizieren*/
	Vector mul(Vector v) throws ArithmeticException ;

	public String toString();

//- - - - - - - - - setter
	/* ein Element setzen*/
	public void setMij(double value, int i, int j);
	/*alle Elemente setzen*/
	public void setall(double value);

//- - - - - - - - - getter
	/* ein Element lesen*/
	public double getMij(int i, int j);

	/*anzahl von Zeilen/Spalten lesen*/
	public int getMi();
	public int getMj();

}
